class CreateYonghus < ActiveRecord::Migration
  def self.up
    create_table :yonghus do |t|
      t.string :xingming
      t.string :username
      t.string :password
      t.string :xingbie
      t.date :shengri
      t.integer :tel
      t.string :dizhi
      t.string :email
      t.integer :tuijianid
      t.integer :vipid
      t.integer :youbian

      t.timestamps
    end
  end

  def self.down
    drop_table :yonghus
  end
end
